Make the emission of ::end-print and ::done consistent for previews.
authorMatthias Clasen <mclasen@redhat.com>
Mon, 30 Apr 2007 02:18:36 +0000 (02:18 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Mon, 30 Apr 2007 02:18:36 +0000 (02:18 +0000)
commitb9856ac887a77ce1115158dad7b9b0d18c382316
tree09cb3258f7caebd82de65c4596fb12ed40519eab
parent177f9aec9c2a7355e78042e892076a8d880d2816
Make the emission of ::end-print and ::done consistent for previews.

2007-04-29  Matthias Clasen <mclasen@redhat.com>

        Make the emission of ::end-print and ::done consistent
        for previews.  (#347567, Yevgen Muntyan)

        * gtk/gtkprintoperation.c (preview_iface_end_preview): Set
        the finished status here.
        (preview_end_run): ...and not here.
        (print_pages_idle_done): Emit ::done for a cancelled preview.
        (print_pages_idle): If a preview has been cancelled, don't
        emit ::ready, but emit ::end-print.

        tests/print-editor.c: Use ::end-print to undo allocations
        from ::begin-print.

svn path=/trunk/; revision=17719
ChangeLog
gtk/gtkprintoperation.c
tests/print-editor.c